package com.opengroupe.dao;

import java.util.List;

import com.opengroupe.entities.Categorie;

public interface CategorieDao extends Dao<Categorie>{

	/**
	 * Retrieves the {@link Categorie} corresponding to the 
	 * given parameter
	 * 
	 * @param libelle to be retrieved
	 * @return {@link Categorie}
	 */
	public Categorie findByLibelle(String libelle);
	
	/**
	 * Retrievs all {@link Categorie} from database
	 * @return {@link List}
	 */
	public List<Categorie> all();
}
